<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>测试http</title>
</head>
<body>
   hello world!
</body>
<script>

function xssTRACE(){
	var xmlHttp = new XMLHttpRequest();  
	xmlHttp.open("TRACE","http://localhost:8080/springmvc/",false);
	xmlHttp.send();
	xmlDoc=xmlHttp.responseText;
	alert(xmlDoc);
}
xssTRACE();
</script>
</html>